<?php
/**
 * Name: User.php
 * Created by: Chung Hoang Long
 * Created Date: 11-10-2013
 * Description: Thong tin nguoi dung 
 */

class User {
	
	private $_UserPK; // int (PK)
	private $_UserID; // string
	private $_UserName; // string
	private $_Password; // string
	private $_Email; // string
	
	public function __construct($userPK, $userID, $userName, $password, $email) {
		$this->_UserPK = $userPK;
		$this->_UserID = $userID;
		$this->_UserName = $userName;
		$this->_Password = $password;
		$this->_Email = $email;
	}
	
	/**
	 * 
	 * @return int
	 */
	public function getUserPK() {
		return $this->_UserPK;
	}
	
	/**
	 * 
	 * @param int $userPK
	 */
	public function setUserPK($userPK) {
		$this->_UserPK = $userPK;
	}
	
	/**
	 * 
	 * @return string
	 */
	public function getUserName() {
		return $this->_UserName;
	}
	
	/**
	 * 
	 * @param string $userName
	 */
	public function setUserName($userName) {
		$this->_UserName = $userName;
	}
	
	/**
	 * 
	 * @return string
	 */
	public function getUserID() {
		return $this->_UserID;
	}
	
	/**
	 * 
	 * @param string $userID
	 */
	public function setUserID($userID) {
		$this->_UserID = $userID;
	}
	
	/**
	 * 
	 * @return string
	 */
	public function getPassword() {
		return $this->_Password;
	}
	
	/**
	 * 
	 * @param string $password
	 */
	public function setPassword($password) {
		$this->_Password = $password;
	}
	
	/**
	 * 
	 * @return string
	 */
	public function getEmail() {
		return $this->_Email;
	}
	
	/**
	 * 
	 * @param string $email
	 */
	public function setEmail($email) {
		$this->_Email = $email;
	}
}
?>